<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <link rel="icon" href="../chaos/image/icon.png" type="image/x-icon"/>
    <link rel="stylesheet" href="./layui/css/layui.css">
    <link rel="stylesheet" href="./css/common.css">
    <title>像素战争</title>
</head>

<body>
<script src="./layui/layui.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/download.min.js"></script>
<script src="js/stomp.umd.min.js"></script>
<script src="js/auth.js"></script>


<ul class="layui-nav layui-bg-green chaos-nav">
    <li class="layui-nav-item">
        <a href="javascript:window.location.href='index.html'">首页</a>
    </li>
    <li class="layui-nav-item">
        <a href="javascript:window.location.href='chat.html'">聊天室</a>
    </li>


    <li class="layui-nav-item" style="position: fixed;right: 60px">
        <a class="user-nick-name">我</a>
        <dl class="layui-nav-child">
            <dd><a href="javascript:window.location.href='changeInfo.html'">修改信息</a></dd>
            <dd><a href="javascript:void(0);" onclick="userLogout()">退出</a></dd>
        </dl>
    </li>
</ul>

<img id="imgHelper" style="display: none">

<div class="main">
    <button class="down">down the image</button>
    <input type="color" name="color" id="color" onchange="changeColor()">
    <canvas id="chaosCanvas"></canvas>
</div>
<script type="text/javascript">
    getUserInfo();
</script>
<script src="js/chaos.js"></script>

</body>

</html>